//
//  DBCenter.h
//  OurRelaxDemo
//
//  Created by apple on 15/6/30.
//  Copyright (c) 2015年 于宾尧. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <sqlite3.h>
#import "DataModel.h"
@interface DBCenter : NSObject
{
    sqlite3 *dbPoint;
}
+ (DBCenter *)shareInstence;
- (void)openDB;
- (void)closeDB;
- (void)createTable;
- (int)insertModel:(DataModel *)data;
- (void)deleteAll;
- (void)delete:(DataModel *)song;
- (NSMutableArray *)selectAll;
@end
